<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%-- 
    Document   : index
    Created on : Apr 21, 2011, 1:26:25 PM
    Author     : JAVA
--%>

<div id="searchLeftColumn">
    <jsp:include page="searchBox.jspf"></jsp:include>
</div>

<div id="searchResult">
    <c:forEach var="property" items="${properties}">
         <div class="searchResultItem">
        <form action="SearchLoader">
            <div class="viewDetail"> <img src="#" alt="Image">
                <div class="searchReAddress"> <span>${property.city}</span>,<span>${property.location}</span> </div>
                <div class="SearchResultdetail"> <span>${property.noOfBedroom}</span>&nbsp;bed&nbsp;|&nbsp;<span>${property.noOfBathroom}</span>&nbsp;baths&nbsp;|&nbsp;type:<span></span> &nbsp;|&nbsp;square foot&nbsp;<span>[200]m&sup2;</span> </div>
                <div class="price"> ${property.rent} &euro; </div>
                <div class="viewDetail">
                    <input name="name" type="hidden" value="detail"/>
                </div>
                <input type="submit" value="View Details">
            </div>
        </form>
    </div>
    </c:forEach>
</div>
<div id="searchRightColumn"></div>
